home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / FileTransferTools.a < prev    next >
Text File  |  1996-05-01  |  2KB  |  77 lines

  1. ;
  2. ;    File:        FileTransferTools.a
  3. ;
  4. ;    Contains:    CommToolbox File Transfer Tools Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__FILETRANSFERTOOLS__') = 'UNDEFINED' THEN
  19. __FILETRANSFERTOOLS__ SET 1
  20.  
  21.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  22.     include 'Dialogs.a'
  23.     ENDIF
  24.     IF &TYPE('__FILETRANSFERS__') = 'UNDEFINED' THEN
  25.     include 'FileTransfers.a'
  26.     ENDIF
  27.     IF FOR_SYSTEM7_ONLY THEN
  28.  
  29.                                                             ; DEFs 
  30. fdefType                        EQU        'fdef'
  31. fsetType                        EQU        'fset'
  32. fvalType                        EQU        'fval'
  33. flocType                        EQU        'floc'
  34. fscrType                        EQU        'fscr'
  35. fbndType                        EQU        'fbnd'
  36. fverType                        EQU        'vers'
  37.  
  38.                                                             ; control 
  39. ftInitMsg                        EQU        0
  40. ftDisposeMsg                    EQU        1
  41. ftSuspendMsg                    EQU        2
  42. ftResumeMsg                        EQU        3
  43. ftMenuMsg                        EQU        4
  44. ftEventMsg                        EQU        5
  45. ftActivateMsg                    EQU        6
  46. ftDeactivateMsg                    EQU        7
  47. ftGetErrorStringMsg                EQU        8
  48. ftAbortMsg                        EQU        52
  49. ftStartMsg                        EQU        100
  50. ftExecMsg                        EQU        102
  51. ftSendMsg                        EQU        103
  52. ftReceiveMsg                    EQU        104                    ; setup 
  53. ftSpreflightMsg                    EQU        0
  54. ftSsetupMsg                        EQU        1
  55. ftSitemMsg                        EQU        2
  56. ftSfilterMsg                    EQU        3
  57. ftScleanupMsg                    EQU        4                    ; validate 
  58. ftValidateMsg                    EQU        0
  59.  
  60. ftDefaultMsg                    EQU        1                    ; scripting 
  61. ftMgetMsg                        EQU        0
  62. ftMsetMsg                        EQU        1                    ; localization 
  63. ftL2English                        EQU        0
  64. ftL2Intl                        EQU        1
  65. FTSetupStruct            RECORD 0
  66. theDialog                 ds.l    1                ; offset: $0 (0)        ;  the dialog form the application 
  67. count                     ds.w    1                ; offset: $4 (4)        ;  first appended item 
  68. theConfig                 ds.l    1                ; offset: $6 (6)        ;  the config record to setup 
  69. procID                     ds.w    1                ; offset: $A (10)        ;  procID of the tool 
  70. sizeof                     EQU *                    ; size:   $C (12)
  71.                         ENDR
  72. ; typedef struct FTSetupStruct *        FTSetupPtr
  73.  
  74.     ENDIF
  75.     ENDIF ; __FILETRANSFERTOOLS__ 
  76.  
  77.